home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d4 / doodah43.arc / DOODAH43.DOC < prev    next >
Text File  |  1989-03-28  |  17KB  |  529 lines

  1.  
  2. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                   DOODAH Professional Horse Racing Handicapper
  12.                    Copyright 1984, 1989 by Michael F. Bigler
  13.  
  14.  
  15.  
  16.      This program is distributed as User Supported Software.  DOODAH is
  17.      free for your use, as is, and its copying and distribution for others
  18.      to use is encouraged.  There are a number of handicapping clubs and
  19.      individuals that use this program, and their suggestions have guided
  20.      its development.
  21.  
  22.  
  23.  
  24.      If you like DOODAH and want to directly contribute to its support and
  25.      enhancement by the author, send some of your winnings and your
  26.      suggestions to:
  27.  
  28.  
  29.  
  30.                          Michael F. Bigler
  31.                          8616 SE 40th St.
  32.                          Mercer Island, WA  98040
  33.  
  34.  
  35.  
  36.      Although you can handicap races with only this program and the
  37.      Operating Instructions (.DOC), I encourage you to buy Winning at the
  38.      Races and read chapter 25.  More than 80,000 races were analyzed by
  39.      computer to identify the most important factors for winning at the
  40.      races.  Ask your book store to order:
  41.  
  42.                          Winning at the Races
  43.                          William L. Quirin, Ph.D.
  44.                          Morrow and Co.
  45.                          New York, 1979
  46.  
  47.  
  48.  
  49.      DOODAH was developed using IBM BASICA during 1984 and converted to
  50.      Microsoft QuickBasic 4.5 in 1989.  It runs on all PC-DOS compatible
  51.      computers with at least:  256K of memory, 1 disk drive, CGA Graphics,
  52.      and DOS 2.1 or higher.
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62. DOODAH Operating Instructions                                  page 1
  63.  
  64.  
  65.  
  66.  
  67.  
  68. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  69.  
  70.  
  71.  
  72.  
  73.      Operating the Program
  74.  
  75.           The program flow is controlled by PF keys, function numbers
  76.           entered on the command line followed by <return>, or both.  The
  77.           <tab> key performs the same function as <return>.
  78.  
  79.           The bottom line on the screen shows the PF key and function
  80.           number assignments.
  81.  
  82.           Pressing a PF key while anywhere on the screen will set the
  83.           function number to the corresponding PF key number and jump to
  84.           the command line.  You may then press <return> or the PF key
  85.           again to execute the selected function.  The <escape> key acts
  86.           the same as a function key but leaves the next function number at
  87.           its previous value.
  88.  
  89.           Besides displaying the next function to be executed, the command
  90.           line is also used to display error messages when edit errors
  91.           occur.
  92.  
  93.           If a data value is entered incorrectly, the program will beep and
  94.           display the allowable value range for the field on the command
  95.           line.  Enter the correct field value, or escape to the command
  96.           line by pressing a PF key or <escape>.
  97.  
  98.           Note that the field edits are designed to correct normal errors-
  99.           extreme stress testing can overflow some fields, messing up the
  100.           screen display.  When entering a horse, it is important that
  101.           valid values are entered.  Space out the name to scratch a horse
  102.           and avoid using a function key or <escape> to partially enter a
  103.           horse--the race calculations may overflow when displayed.
  104.  
  105.           The <return> or <tab> key is required after entering a data
  106.           field, and to tab to the next field if the displayed value is
  107.           acceptable.  On the command line, <return> or <tab> will execute
  108.           the displayed function number as the default action.
  109.  
  110.      Function 7:  Display Main Menu
  111.  
  112.           This function displays the main menu screen.  The function
  113.           numbers correspond to the PF key assignments and function numbers
  114.           on the command line.
  115.  
  116.           You do not need to come back to the main menu to perform a new
  117.           function, and PF7-Menu is used only to allow you to respecify if
  118.           you want color or music.
  119.  
  120.           Replying Y to the query for music at start-up or this function
  121.           will play Parade to the Post and the beginning and end.
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. DOODAH Operating Instructions                                  page 2
  129.  
  130.  
  131.  
  132.  
  133.  
  134. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  135.  
  136.  
  137.  
  138.  
  139.      Normal Program Flow
  140.  
  141.           Start NEW RACE DAY---------> 1
  142.                Once at the beginning.
  143.  
  144.           Enter NEXT RACE------------> 2
  145.                Once for each race to be handicapped.
  146.  
  147.           Enter NEXT HORSE-----------> 3
  148.                Until all horses are entered for a race, then back to Enter
  149.                NEXT RACE.
  150.  
  151.           Save or Reload DATA FILE---> 8
  152.                After every 2 or 3 complete races have been entered.
  153.  
  154.           Calculate POINT TOTALS-----> 4
  155.                After a race has been entered, and before Display/Print
  156.                POINT TOTALS.
  157.  
  158.           Display/Print POINT TOTALS-> 6
  159.                After Calculate POINT TOTALS for a race.  Use <shift> +
  160.                <PrtSc> to print.
  161.  
  162.           Quit Program---------------> 9
  163.                When you are done.  Be sure to Save DATA FILE first.
  164.  
  165.      Continuing a Previous Session
  166.  
  167.  
  168.  
  169.           If you are continuing a previous session, execute function 8,
  170.           Save or Reload DATA FILE first, then go to the appropriate
  171.           function to continue where you left off, or to make any changes
  172.           to whatever has already been entered.
  173.  
  174.           Most changes will come from late scratches the day of the race,
  175.           where the scratched horse should be removed from the race by
  176.           blanking its name by the Enter NEXT HORSE function, and the point
  177.           totals recalculated and reprinted for the affected race.
  178.  
  179.      Function 1:  Start New Race Day
  180.  
  181.           This is usually the first function to be performed.  There are no
  182.           required fields on this screen, but the date and top 5 jockeys
  183.           appear on all the headings, and the jockey names can be used as a
  184.           quick reference when determining jockey points while entering a
  185.           horse.  Only a single day can be entered at a time.
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194. DOODAH Operating Instructions                                  page 3
  195.  
  196.  
  197.  
  198.  
  199.  
  200. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  201.  
  202.  
  203.  
  204.  
  205.      Function 2:  Start New Race
  206.  
  207.           This function is performed at the beginning of each new race.
  208.  
  209.           The RACE NUMBER is required and must be from 1 to 10.  Races can
  210.           be entered in any order.
  211.  
  212.           The RACE DISTANCE is required, and the first character must be S
  213.           for a sprint, or R for a route distance race.  Sprint races are
  214.           under 1 mile, and route races are 1 mile or more.
  215.  
  216.           RACE DISTANCE, RACE CATEGORY, RACE SEX, and RACE AMOUNT can be
  217.           entered here to appear on the Display/Print screen.
  218.  
  219.      Function 3:  Enter Next Horse
  220.  
  221.           This function is performed for each horse in a race.  Horses can
  222.           be entered in any order.
  223.  
  224.           RACE NUMBER can be changed on this screen to enter a horse for a
  225.           race other than the one displayed.
  226.  
  227.           POST position is required and must be from 1 to 15.  It should be
  228.           the same as the post position shown on the racing form.
  229.  
  230.           If there are more than 15 horses in a race, you must drop the
  231.           obvious dogs and reassign post positions.  Post position is most
  232.           important in route races.
  233.  
  234.           HORSE NAME is required and the first two characters must not be
  235.           blank.  To scratch a horse from a race, blank out the horse name.
  236.  
  237.           HORSE SEX and JOCKEY are not required except when printing.
  238.  
  239.           The proper entry screen for the RACE DISTANCE (S or R) will
  240.           appear for the RACE NUMBER specified in the heading.
  241.  
  242.      Function 3:  Enter Next Horse--Sprints
  243.  
  244.           The following fields are entered for a sprint distance race.  See
  245.           the next section for route distance fields.
  246.  
  247.           Enter DAYS AWAY------------------>
  248.                Number of days since this horse has last raced.  This value
  249.                has a low weight in the point scoring and is used mainly as
  250.                a tie breaker.
  251.  
  252.           Enter GOOD RACES IN LAST 10 TRIES>
  253.                Finished 1, 2, or 3, or within 2 lengths of the winner.
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260. DOODAH Operating Instructions                                  page 4
  261.  
  262.  
  263.  
  264.  
  265.  
  266. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  267.  
  268.  
  269.  
  270.  
  271.           Enter FAILURES IN LAST 10 TRIES-->
  272.                Since the horse's last good race, number of times the horse
  273.                did not run a good race against horses of the same class it
  274.                is being asked to run against today, and at the same
  275.                distance (sprint or route).
  276.  
  277.                Some valid excuses for failures are: just before or after a
  278.                layoff of a month or more, bad racing luck (blocked, bumped,
  279.                forced wide, etc), fillies or mares against males, or dirt
  280.                vs turf.  This whole subject is covered in great detail in
  281.                Winning at the Races.
  282.  
  283.           Enter STARTS (TYR and/or LYR)---->
  284.                If less than 10 starts this year, add last year's to this
  285.                year's.  Used to calculate average earnings rank.
  286.  
  287.           Enter EARNINGS (TYR and/or LYR)-->
  288.                Enter the money won in the STARTS above.  Used to calculate
  289.                average earnings per race.
  290.  
  291.           Enter SPEED RATING LATEST RACE--->
  292.                Use the speed rating plus track variance as shown on the
  293.                racing form for the last race at this distance.
  294.  
  295.           Enter SPEED RATING PRIOR RACE---->
  296.                Same as above for previous race at this distance.  If not
  297.                entered, will be set to LATEST race value.
  298.  
  299.           Enter JOCKEY RATING (1,2,3)------>
  300.                Enter a 1 if the jockey riding this horse is one of the top
  301.                5 at the track, enter a 2 if the horse has been ridden by
  302.                this jockey in one of its GOOD RACES, enter a 3 for all
  303.                others.  The jockey standings for a track can be found in
  304.                the racing form.
  305.  
  306.           Enter # SPEED SHOWN IN L5 SPRINTS>
  307.                Count 1 point for position 1, 2, or 3 at the first call,
  308.                AND/OR count 1 point for each time the horse was within 2
  309.                lengths of the leader at the first call, for a maximum of 3
  310.                sprint races out of the last 5 sprints.  The maximum point
  311.                total is 6.  The 1 point each horse starts out with is built
  312.                into the program.
  313.  
  314.           Enter BONUS/PENALTY POINT (+/-)-->
  315.                If the horse showed speed in all 3 of the last 5 sprints
  316.                (got 6 points), enter 1.  If the horse showed no speed in
  317.                the last 3 of 5 sprints (got 0 points), enter -1.
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326. DOODAH Operating Instructions                                  page 5
  327.  
  328.  
  329.  
  330.  
  331.  
  332. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  333.  
  334.  
  335.  
  336.  
  337.      Function 3:  Enter Next Horse--Routes
  338.  
  339.           All the parameters are the same as for sprints, although fewer
  340.           are used.
  341.  
  342.           POST position is especially important for routes.
  343.  
  344.           Enter STARTS (TYR and/or LYR)---->
  345.  
  346.           Enter WINS IN LAST 10 TRIES------>
  347.  
  348.           Enter EARNINGS (TYR and/or LYR)-->
  349.  
  350.           Enter SPEED RATING LATEST RACE--->
  351.  
  352.           Enter SPEED RATING PRIOR RACE---->
  353.  
  354.           Enter JOCKEY RATING (1,2,3)------>
  355.  
  356.      Function 4:  Calculate Point Totals
  357.  
  358.           This function is used after all the horses in a race have been
  359.           entered, or after a horse has been scratched from a race by
  360.           blanking its name.  Point totals can be calculated for races in
  361.           any order.
  362.  
  363.           The calculation algorithm is explained in Winning at the Races.
  364.           It involves numerous sorts and rankings of the horses against one
  365.           another.  Extremely large or small values or small numbers of
  366.           horses entered in the race can make some of internal values
  367.           under- or overflow and mess up the display.
  368.  
  369.      Function 6:  Display/Print Race
  370.  
  371.           This function is used after the point totals have been calculated
  372.           with function 4, or during entry of a race to see what horses
  373.           have been entered already.
  374.  
  375.           Enter N to display the horses in post position order or Y to show
  376.           them by total points.
  377.  
  378.           The RACE NUMBER on this screen can be changed to display a race
  379.           other than the one currently displayed.  Races can be displayed
  380.           in any order.
  381.  
  382.           Use the <shift> + <PrtSc> print screen function to print the
  383.           screen.
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392. DOODAH Operating Instructions                                  page 6
  393.  
  394.  
  395.  
  396.  
  397.  
  398. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  399.  
  400.  
  401.  
  402.  
  403.      Function 8:  Save/Load Data File
  404.  
  405.           This function is used to save or reload a data file of race day
  406.           information.  Note that any existing file of the same name will
  407.           be overwritten.  Attempting to LOAD a file that does not exist,
  408.           and disk errors will be trapped and an error message displayed.
  409.  
  410.           Data files are written and read with an extension of .DAT.  The
  411.           format is specific to this program only and cannot be changed.
  412.           Do not enter the .DAT extension when specifying a file name--it
  413.           will be added automatically.
  414.  
  415.           If the data to be loaded or saved is not in current directory,
  416.           specify the full path name of the file: \DOODAH\DATA\LGA23 for
  417.           example, to use a file called LGA23.DAT in the \DOODAH\DATA
  418.           directory.
  419.  
  420.           Point totals must be recalculated after a file is loaded, but not
  421.           when saved since they are not changed during a save.
  422.  
  423.           The supplied data file, DOODAH.DAT, contains the examples used in
  424.           Winning at the Races, with the exception of any copyrighted
  425.           material such as the horse or jockey names.  Note that the
  426.           calculated values for the Sprint race vary just slightly from the
  427.           book due to the fact that QBasic rounds instead of truncates when
  428.           doing some speed point percentage calculations.
  429.  
  430.      Function 5:  Change Weighting Factors
  431.  
  432.           This screen is used to change the factor weights used in the
  433.           point total calculations.
  434.  
  435.           The supplied values are from Winning at the Races, and should be
  436.           modified with caution.  The defaults are used when starting the
  437.           program.
  438.  
  439.           Any changed factor weights will be written to the disk or read
  440.           when doing a save/load file function.  Each saved file will have
  441.           its own values.
  442.  
  443.           Enter S to change the factors for sprint races, or R to change
  444.           the factors for route races.
  445.  
  446.      Function 10:  Show Boss Screen
  447.  
  448.           This screen shows a C:> DOS prompt in case the boss stops by when
  449.           you are entering race data.  Press the <return> key to go back to
  450.           the main menu.
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458. DOODAH Operating Instructions                                  page 7
  459.  
  460.  
  461.  
  462.  
  463.  
  464. DOODAH Professional Handicapper         Version 4.3            March 11, 1989
  465.  
  466.  
  467.  
  468.  
  469.      Modification Log
  470.  
  471.           Version 4.3  3/11/89
  472.  
  473.           Converted the source to use QuickBasic line labels, CASE
  474.           routines, block IF...THEN...END IF, UCASE$ function and
  475.           structured coding.
  476.  
  477.           Future enhancements may include conversion of GOSUB to SUB and
  478.           FUNCTION, reordering of subroutines, use of named array elements,
  479.           improved file I/O, LOAD of factor weights, DECLARE of all
  480.           variables, etc.
  481.  
  482.           Fixed bug in Route entry that set SPEED (2) = SPEED (1) when only
  483.           one start.
  484.  
  485.           Enhanced field entry to erase to end-of-field when entering data
  486.           over the top of existing data.  Fixed positioning of cursor on
  487.           backspace.
  488.  
  489.           Added <tab> = <return> and <escape> = <function key>.
  490.  
  491.           Added option of playing Parade to the Post music.
  492.  
  493.           Updated operating instructions and created data file to contain
  494.           the race examples shown in Winning at the Races.
  495.  
  496.           Created DOODAH43.ZIP containing this document, the program and
  497.           sample data file.  All files should be dated 3/11/89.
  498.  
  499.  
  500.  
  501.  
  502.  
  503.                            GOOD LUCK AND GOOD RACING!
  504.  
  505.                                   Mike Bigler
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524. DOODAH Operating Instructions                                  page 8
  525.  
  526.  
  527.  
  528.  
  529.